package com.yihuier.yihuier.Controller.UserManager;

import com.yihuier.yihuier.Service.UserManager.DepartmentService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class DepartmentController {
    @Autowired
    private DepartmentService departmentService;

    public int getCompanyIdByDepartmentId(int department_id){return departmentService.getCompanyIdByDepartmentId(department_id);}
}
